//
//  HeadView.h
//  LotteryProject
//
//  Created by yhj on 2017/7/11.
//  Copyright © 2017年 阳光. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HeadViewDelegate <NSObject>

-(void)nextBtnEvent;

@end

@interface HeadView : UIView

@property(nonatomic,weak)id<HeadViewDelegate>delegate;

-(instancetype)initWithTitle:(NSString *)title  hasNext:(BOOL)next;

@property(nonatomic,strong)NSString *leftTitle;

@property(nonatomic,strong)UILabel *leftTitleLabel;

@property(nonatomic,strong)UIButton *arrowBtn;

@end
